package com.bocloud.cmp.driver.providers.intf;

import com.bocloud.cmp.model.NetworkModel;
import com.bocloud.cmp.model.SwitchModel;
import com.bocloud.common.model.BsmResult;

public interface NetworkProvider {

	public BsmResult list(String vendor, String region);

	public BsmResult create(String vendor, String region, NetworkModel model);

	public BsmResult remove(String networkId, String vendor, String region);

	public BsmResult detail(String networkId, String vendor, String region);

	public BsmResult modify(String vendor, String region, NetworkModel model);

	/**
	 * 创建分布式交换机
	 * 
	 * @param vendor
	 * @param switchModel
	 * @return
	 */
	public BsmResult createDSwitch(String vendor, SwitchModel switchModel);

	/**
	 * 创建标准交换机
	 * 
	 * @param vendor
	 * @param switchModel
	 * @return
	 */
	public BsmResult createVSwitch(String vendor, SwitchModel switchModel);
}
